/*
 * UpdateEventListener.java
 *
 * Created on 10 październik 2007, 20:20
 *
 */

package kosciak.blip4j.automation;

import java.util.EventListener;
import kosciak.blip4j.*;

/**
 * Listens for new DirectMessage and Update Events
 * @author Wojtek 'KosciaK' Pietrzok
 * @since 0.1
 */
public interface UpdateEventListener extends EventListener {
    
    /**
     * Processes the incoming DirectMessageEvent
     * @param event an incoming DirectMessageEvent
     */
    void processDirectMessage(DirectMessageEvent event);
    
    /**
     * Processes the incoming StatusEvent
     * @param event an incoming StatusEvent
     */
    void processStatus(StatusEvent event);
}
